package com.youth.routercore

interface RouterInterceptor {
    fun shouldIntercept(routerPathRequest: RouterPathRequest): Boolean

    /**
     * 拦截跳转
     */
    fun interceptJump(routerPathRequest: RouterPathRequest): Boolean {
        return false
    }

    suspend fun intercept(routerPathRequest: RouterPathRequest)
}